//  审批进度
import request from '@/utils/request';

export async function queryProcess(params) {
    return request('/api/workflowweb/approve/v1/current/navigate/list', {
        method: 'POST',
        data: params
    });
}

/*
 * 催办
 * @prams params<{processInstanceId, taskId}>
 * */
export async function urge(params) {
    return request('/api/workflowweb/approve/v1/urge', {
        method: 'POST',
        data: params
    });
}

// 获取当前登陆人所分配的流程模板列表
export function queryFlowType(params) {
    return request('/api/workflowweb/deploy/v1/getAllGroupByCategory', {
        method: 'POST',
        data: params
    });
}
